﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace PeachLite.Entity
{
    public class Article
    {
        /// <summary>
        /// 文章编号
        /// </summary>
        public int ID;

        /// <summary>
        /// 所属栏目
        /// </summary>
        public int ClassID;

        /// <summary>
        /// 文章标题
        /// </summary>
        public string Title;

        /// <summary>
        /// 副标题
        /// </summary>
        public string TitleSub;

        /// <summary>
        /// 文章摘要
        /// </summary>
        public string Summary;

        /// <summary>
        /// 标题图片
        /// </summary>
        public string TitleImage;

        /// <summary>
        /// 标题样式
        /// </summary>
        public string TitleCss;

        /// <summary>
        /// 文章类型
        /// </summary>
        public int AType;

        /// <summary>
        /// 关键字
        /// </summary>
        public string MetaKeywords;

        /// <summary>
        /// 描述
        /// </summary>
        public string MetaDescription;

        /// <summary>
        /// 标识
        /// </summary>
        public string Tags;

        /// <summary>
        /// 跳转地址
        /// </summary>
        public string RedirectUrl;

        /// <summary>
        /// 主题ID
        /// </summary>
        public int SubjectID;

        /// <summary>
        /// 作者
        /// </summary>
        public string Author;

        /// <summary>
        /// 文章来源
        /// </summary>
        public string Source;

        /// <summary>
        /// 文章内容
        /// </summary>
        public string AContent;

        /// <summary>
        /// 文章序号
        /// </summary>
        public int Ordinal;

        /// <summary>
        /// 创作时间
        /// </summary>
        public DateTime CreateTime;

        /// <summary>
        /// 状态
        /// </summary>
        public int State;


        public Article()
        {
            ID = -1;
            ClassID = -1;
            Title = "";
            TitleSub = "";
            Summary = "";
            TitleImage = "";
            TitleCss = "";
            AType = -1;
            MetaKeywords = "";
            MetaDescription = "";
            Tags = "";
            RedirectUrl = "";
            SubjectID = -1;
            Author = "";
            Source = "";
            AContent = "";
            Ordinal = -1;
            CreateTime = new DateTime();
            State = 0;
        }
    }
}